package cn.zebra.dev.mall.module.discounts.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author wzhsun.cn
 * @version 1.0
 * @date 2020/5/8
 */
@Getter
@Setter
public class DiscountsMemberListDTO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("优惠券id")
    private Long discountsId;

    @ApiModelProperty("优惠券编号")
    private String discountsSn;

    @ApiModelProperty("优惠券所有者id")
    private Long discountsUserId;

    @ApiModelProperty("优惠券使用情况0未使用1 已使用")
    private Integer discountsUserd;

    @ApiModelProperty("优惠券状态 0表示禁用 1 启用 2 过期")
    private Integer discountsStatus;

    @ApiModelProperty("优惠券类型1表示店铺类型2表示商品类型")
    private Integer discountsType;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("店铺图片")
    private String shopImage;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("商品图片地址")
    private String productImage;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("是否删除")
    private Boolean deteleFlag;

}
